package com.ruoyi.develop.orderCommissionRule.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 订单提成规则对象 order_commission_rule
 *
 * @author lmm
 * @date 2024-11-14
 */
public class OrderCommissionRule extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 地区
     */
    @Excel(name = "地区")
    private String area;

    /**
     * 回款天数最小值
     */
    @Excel(name = "回款天数最小值")
    private String returnMin;

    /**
     * 回款天数最大值
     */
    @Excel(name = "回款天数最大值")
    private String returnMax;

    /**
     * 提成百分比
     */
    @Excel(name = "提成百分比")
    private BigDecimal percent;

    /**
     * 是否有卸车费
     */
    @Excel(name = "是否有卸车费")
    private String unloadFee;

    /**
     * 删除标志
     */
    private String delFlag;
    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }
    public void setArea(String area) {
        this.area = area;
    }
    public String getArea() {
        return area;
    }

    public void setReturnMin(String returnMin) {
        this.returnMin = returnMin;
    }
    public String getReturnMin() {
        return returnMin;
    }

    public void setReturnMax(String returnMax) {
        this.returnMax = returnMax;
    }

    public String getReturnMax() {
        return returnMax;
    }
    public BigDecimal getPercent() {
        return percent;
    }
    public void setPercent(BigDecimal percent) {
        this.percent = percent;
    }
    public void setUnloadFee(String unloadFee) {
        this.unloadFee = unloadFee;
    }
    public String getUnloadFee() {
        return unloadFee;
    }
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
    public String getDelFlag() {
        return delFlag;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("area", getArea())
                .append("returnMin", getReturnMin())
                .append("returnMax", getReturnMax())
                .append("percent", getPercent())
                .append("unloadFee", getUnloadFee())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
